.class public Lcom/instagram/model/b/a;
.super Ljava/lang/Object;
.source "Recipient.java"

# interfaces
.implements Ljava/lang/Comparable;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Ljava/lang/Comparable",
        "<",
        "Lcom/instagram/model/b/a;",
        ">;"
    }
.end annotation


# instance fields
.field private a:Lcom/instagram/android/model/b/e;

.field private b:Z

.field private c:Z

.field private d:Z


# direct methods
.method private constructor <init>()V
    .locals 0

    .prologue
    .line 27
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 29
    return-void
.end method

.method public static a(Lcom/fasterxml/jackson/a/l;)Lcom/instagram/model/b/a;
    .locals 3
    .parameter

    .prologue
    .line 123
    const/4 v0, 0x0

    .line 124
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->getCurrentToken()Lcom/fasterxml/jackson/a/r;

    move-result-object v1

    sget-object v2, Lcom/fasterxml/jackson/a/r;->m:Lcom/fasterxml/jackson/a/r;

    if-eq v1, v2, :cond_6

    .line 125
    :cond_0
    :goto_0
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    move-result-object v1

    sget-object v2, Lcom/fasterxml/jackson/a/r;->c:Lcom/fasterxml/jackson/a/r;

    if-eq v1, v2, :cond_6

    .line 126
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->getCurrentName()Ljava/lang/String;

    move-result-object v1

    .line 128
    if-eqz v1, :cond_1

    if-nez v0, :cond_1

    .line 129
    new-instance v0, Lcom/instagram/model/b/a;

    invoke-direct {v0}, Lcom/instagram/model/b/a;-><init>()V

    .line 132
    :cond_1
    const-string v2, "has_seen"

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_2

    .line 133
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 134
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->getBooleanValue()Z

    move-result v1

    iput-boolean v1, v0, Lcom/instagram/model/b/a;->b:Z

    goto :goto_0

    .line 135
    :cond_2
    const-string v2, "has_liked"

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_3

    .line 136
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 137
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->getBooleanValue()Z

    move-result v1

    iput-boolean v1, v0, Lcom/instagram/model/b/a;->c:Z

    goto :goto_0

    .line 138
    :cond_3
    const-string v2, "has_commented"

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_4

    .line 139
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 140
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->getBooleanValue()Z

    move-result v1

    iput-boolean v1, v0, Lcom/instagram/model/b/a;->d:Z

    goto :goto_0

    .line 141
    :cond_4
    const-string v2, "user"

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_5

    .line 142
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 143
    invoke-static {p0}, Lcom/instagram/android/model/b/l;->a(Lcom/fasterxml/jackson/a/l;)Lcom/instagram/android/model/b/e;

    move-result-object v1

    .line 144
    invoke-virtual {v0, v1}, Lcom/instagram/model/b/a;->a(Lcom/instagram/android/model/b/e;)V

    goto :goto_0

    .line 145
    :cond_5
    if-eqz v1, :cond_0

    .line 146
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->skipChildren()Lcom/fasterxml/jackson/a/l;

    goto :goto_0

    .line 150
    :cond_6
    return-object v0
.end method

.method public static b(Lcom/fasterxml/jackson/a/l;)Ljava/util/List;
    .locals 3
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/fasterxml/jackson/a/l;",
            ")",
            "Ljava/util/List",
            "<",
            "Lcom/instagram/model/b/a;",
            ">;"
        }
    .end annotation

    .prologue
    .line 154
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 155
    :goto_0
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    move-result-object v1

    sget-object v2, Lcom/fasterxml/jackson/a/r;->e:Lcom/fasterxml/jackson/a/r;

    if-eq v1, v2, :cond_0

    .line 156
    invoke-static {p0}, Lcom/instagram/model/b/a;->a(Lcom/fasterxml/jackson/a/l;)Lcom/instagram/model/b/a;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 158
    :cond_0
    return-object v0
.end method


# virtual methods
.method public a(Lcom/instagram/model/b/a;)I
    .locals 4
    .parameter

    .prologue
    const/4 v1, 0x1

    const/4 v0, -0x1

    .line 92
    iget-boolean v2, p0, Lcom/instagram/model/b/a;->c:Z

    invoke-virtual {p1}, Lcom/instagram/model/b/a;->c()Z

    move-result v3

    if-eq v2, v3, :cond_2

    .line 93
    iget-boolean v2, p0, Lcom/instagram/model/b/a;->c:Z

    if-eqz v2, :cond_1

    .line 99
    :cond_0
    :goto_0
    return v0

    :cond_1
    move v0, v1

    .line 93
    goto :goto_0

    .line 94
    :cond_2
    iget-boolean v2, p0, Lcom/instagram/model/b/a;->d:Z

    invoke-virtual {p1}, Lcom/instagram/model/b/a;->d()Z

    move-result v3

    if-eq v2, v3, :cond_3

    .line 95
    iget-boolean v2, p0, Lcom/instagram/model/b/a;->d:Z

    if-nez v2, :cond_0

    move v0, v1

    goto :goto_0

    .line 96
    :cond_3
    iget-boolean v2, p0, Lcom/instagram/model/b/a;->b:Z

    invoke-virtual {p1}, Lcom/instagram/model/b/a;->b()Z

    move-result v3

    if-eq v2, v3, :cond_4

    .line 97
    iget-boolean v2, p0, Lcom/instagram/model/b/a;->b:Z

    if-nez v2, :cond_0

    move v0, v1

    goto :goto_0

    .line 99
    :cond_4
    invoke-virtual {p0}, Lcom/instagram/model/b/a;->a()Lcom/instagram/android/model/b/e;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/model/b/e;->f()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1}, Lcom/instagram/model/b/a;->a()Lcom/instagram/android/model/b/e;

    move-result-object v1

    invoke-virtual {v1}, Lcom/instagram/android/model/b/e;->f()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->compareToIgnoreCase(Ljava/lang/String;)I

    move-result v0

    goto :goto_0
.end method

.method public a()Lcom/instagram/android/model/b/e;
    .locals 1

    .prologue
    .line 40
    iget-object v0, p0, Lcom/instagram/model/b/a;->a:Lcom/instagram/android/model/b/e;

    return-object v0
.end method

.method public a(Lcom/instagram/android/model/b/e;)V
    .locals 0
    .parameter

    .prologue
    .line 36
    iput-object p1, p0, Lcom/instagram/model/b/a;->a:Lcom/instagram/android/model/b/e;

    .line 37
    return-void
.end method

.method public a(Lcom/instagram/model/b/c;Z)V
    .locals 3
    .parameter
    .parameter

    .prologue
    const/4 v2, 0x1

    .line 56
    sget-object v0, Lcom/instagram/model/b/b;->a:[I

    invoke-virtual {p1}, Lcom/instagram/model/b/c;->ordinal()I

    move-result v1

    aget v0, v0, v1

    packed-switch v0, :pswitch_data_0

    .line 73
    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "Unsupported argument"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 58
    :pswitch_0
    iput-boolean p2, p0, Lcom/instagram/model/b/a;->b:Z

    .line 75
    :cond_0
    :goto_0
    return-void

    .line 61
    :pswitch_1
    iput-boolean p2, p0, Lcom/instagram/model/b/a;->c:Z

    .line 62
    iget-boolean v0, p0, Lcom/instagram/model/b/a;->c:Z

    if-eqz v0, :cond_0

    .line 63
    iput-boolean v2, p0, Lcom/instagram/model/b/a;->b:Z

    goto :goto_0

    .line 67
    :pswitch_2
    iput-boolean p2, p0, Lcom/instagram/model/b/a;->d:Z

    .line 68
    iget-boolean v0, p0, Lcom/instagram/model/b/a;->d:Z

    if-eqz v0, :cond_0

    .line 69
    iput-boolean v2, p0, Lcom/instagram/model/b/a;->b:Z

    goto :goto_0

    .line 56
    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_2
    .end packed-switch
.end method

.method public a(Lcom/instagram/model/b/c;)Z
    .locals 2
    .parameter

    .prologue
    .line 78
    sget-object v0, Lcom/instagram/model/b/b;->a:[I

    invoke-virtual {p1}, Lcom/instagram/model/b/c;->ordinal()I

    move-result v1

    aget v0, v0, v1

    packed-switch v0, :pswitch_data_0

    .line 86
    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "Unsupported argument"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 80
    :pswitch_0
    iget-boolean v0, p0, Lcom/instagram/model/b/a;->b:Z

    .line 84
    :goto_0
    return v0

    .line 82
    :pswitch_1
    iget-boolean v0, p0, Lcom/instagram/model/b/a;->c:Z

    goto :goto_0

    .line 84
    :pswitch_2
    iget-boolean v0, p0, Lcom/instagram/model/b/a;->d:Z

    goto :goto_0

    .line 78
    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_2
    .end packed-switch
.end method

.method public b()Z
    .locals 1

    .prologue
    .line 44
    iget-boolean v0, p0, Lcom/instagram/model/b/a;->b:Z

    return v0
.end method

.method public c()Z
    .locals 1

    .prologue
    .line 48
    iget-boolean v0, p0, Lcom/instagram/model/b/a;->c:Z

    return v0
.end method

.method public synthetic compareTo(Ljava/lang/Object;)I
    .locals 1
    .parameter "x0"

    .prologue
    .line 14
    check-cast p1, Lcom/instagram/model/b/a;

    .end local p1
    invoke-virtual {p0, p1}, Lcom/instagram/model/b/a;->a(Lcom/instagram/model/b/a;)I

    move-result v0

    return v0
.end method

.method public d()Z
    .locals 1

    .prologue
    .line 52
    iget-boolean v0, p0, Lcom/instagram/model/b/a;->d:Z

    return v0
.end method

.method public equals(Ljava/lang/Object;)Z
    .locals 4
    .parameter "o"

    .prologue
    const/4 v0, 0x1

    const/4 v1, 0x0

    .line 105
    if-ne p0, p1, :cond_1

    .line 110
    .end local p1
    :cond_0
    :goto_0
    return v0

    .line 106
    .restart local p1
    :cond_1
    if-eqz p1, :cond_2

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v2

    invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v3

    if-eq v2, v3, :cond_3

    :cond_2
    move v0, v1

    goto :goto_0

    .line 108
    :cond_3
    check-cast p1, Lcom/instagram/model/b/a;

    .line 110
    .end local p1
    iget-object v2, p0, Lcom/instagram/model/b/a;->a:Lcom/instagram/android/model/b/e;

    if-nez v2, :cond_4

    invoke-virtual {p1}, Lcom/instagram/model/b/a;->a()Lcom/instagram/android/model/b/e;

    move-result-object v2

    if-eqz v2, :cond_0

    move v0, v1

    goto :goto_0

    :cond_4
    iget-object v0, p0, Lcom/instagram/model/b/a;->a:Lcom/instagram/android/model/b/e;

    invoke-virtual {p1}, Lcom/instagram/model/b/a;->a()Lcom/instagram/android/model/b/e;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/model/b/e;->equals(Ljava/lang/Object;)Z

    move-result v0

    goto :goto_0
.end method

.method public hashCode()I
    .locals 1

    .prologue
    .line 115
    iget-object v0, p0, Lcom/instagram/model/b/a;->a:Lcom/instagram/android/model/b/e;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return v0

    :cond_0
    iget-object v0, p0, Lcom/instagram/model/b/a;->a:Lcom/instagram/android/model/b/e;

    invoke-virtual {v0}, Lcom/instagram/android/model/b/e;->hashCode()I

    move-result v0

    goto :goto_0
.end method
